﻿using System.Collections.Generic;

namespace DHJ.Cost.CostBooking.Config
{
    public class 标准件成本_Config : CostConfig
    {
        public override CostHandleType HandleType => CostHandleType.直接成本处理;
        public override int Index => 3;

        protected override Dictionary<string, string> BaseMap =>
            new Dictionary<string, string>
            {
                {"成本", "成本金额"},
                {"部门", "单位"},
                {"条码数量", "数量"},
                {"条码", "条码号/质控卡编号"}
            };

        protected override Dictionary<string, string> ExtendMap =>
            new Dictionary<string, string>
            {
                {"任务编号", "去向任务编号"},
                {"产品图号", "去向产品图号"}
            };
    }

    public class 标准件成本_Extend : ICostExtend
    {
        public string 任务编号 { get; set; }
        public string 产品图号 { get; set; }
        public string 合格证号 { get; set; }
        public string 名称 { get; set; }
        public string 标准规格 { get; set; }
    }
}